package com.hotel.tv.runtime.session.impl;

import com.hotel.tv.runtime.session.HotelUserSession;

/**
 * 用户端会话
 * <p>
 * </p>
 *
 * @description TODO
 * @author: 老码农
 * @create: 2020-04-02 21:46
 **/
public class HotelUserSessionImpl extends AbstractHotelSession implements HotelUserSession {

    @Override
    public boolean isVip() {
        Boolean value = this.getIdentityClaims().getBooleanClaims(FIELD_IS_VIP);
        return value != null && value;
    }
}
